package com.hzy.pms.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * sku信息对象 pms_sku_snapshot
 *
 * @author zengxin
 * @date 2023-10-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("pms_sku_snapshot")
public class SkuSnapshot extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * sku_id
     */
    private Long skuId;
    /**
     * 产品
     */
    private Long productId;
    /**
     * sku编码
     */
    private String outSkuId;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 展示图片
     */
    private String pic;
    /**
     * 商品销售属性，json格式
     */
    private String spData;

}
